﻿using Loogn.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Loogn.DBTest.Model
{
    [DBTable("User")]
    public class UserInfo
    {
        [DBField(InsertIgnore = true, IsPrimaryKey = true)]
        public int ID { get; set; }

        public string Name { get; set; }

        public bool Sex { get; set; }

        public byte Age { get; set; }

        public DateTime Date { get; set; }

        [DBField(UpdateIgnore = true)]
        public string Remark { get; set; }
    }
}
